import tensorflow as tf
tens1 = tf.constant([
    [[1, 2, 2], [2, 2, 4]],
    [[1, 2, 2], [2, 2, 4]],
    [[1, 2, 2], [2, 2, 4]],
    [[1, 2, 2], [2, 2, 4]]
], name="tens1")

print(tens1)